﻿package code 
{
	import flash.events.*;
	import flash.display.MovieClip;
	
	public class CreditsMainBtn extends GenericButton 
	{

		public function CreditsMainBtn() 
		{
			// constructor code
			super();
		}
		
		/*
		Handles what happens when this symbol is clicked
		*/
		public override function OnClick(e:MouseEvent):void
		{
			trace("CreditsMainBtn Clicked");
			trace(parent.parent);
			(parent.parent as MovieClip).gotoAndPlay("MainToCredits");
			
		}

	}
	
}